package com.gxa.www.cl.mapper;

import com.gxa.www.cl.domain.vo.Person;
import com.gxa.www.cl.domain.vo.Person;
import org.apache.ibatis.annotations.Insert;
        import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;
@Mapper
public interface PurchaseMapper {

    @Insert("INSERT INTO 采购信息表 (danjuhao, shijian, zongjiage, jingshouren, beizhu) " +
        "VALUES (#{danjuhao}, #{shijian}, #{zongjiage}, #{jingshouren}, #{beizhu})")
    void insertPurchase(Map<String, Object> formData);

    @Select("select id,name from 员工信息表")
    List<Person> queryCaiName();

}
